{extend name="../application/public/base.html" /}
{block name="head"}
{/block}
{block name="body"}
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a><cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right;" onclick="location.reload()" title="刷新"><i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                            <div class="layui-tab">
							  	<div class="layui-tab-content">
									<table class="layui-table layui-form" id="table-list">
		                              	<!-- <thead>
		                              		<tr>
		                              			<th style="min-width: 15px;width: 15px;">序号</th>
												<th>打印类型</th>
												<th>状态</th>
												<th>操作</th>
											</tr>
			                            </thead>
		                              	<tbody>
		                                	<tr>
		                                		<td>1</td>
												<td>销售小票打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('销售小票打印设置','sale_small_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                                	<tr>
		                                		<td>2</td>
												<td>维修开单小票打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('维修开单小票打印','repair_open_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                                	<tr>
		                                		<td>3</td>
												<td>维修单打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('维修单打印','repair_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                                	<tr>
		                                		<td>4</td>
												<td>维修失败小票打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('维修失败小票打印','repair_fail_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                                	<tr>
		                                		<td>5</td>
												<td>维修取消小票打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('维修取消小票打印','repair_cancel_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                                	<tr>
		                                		<td>6</td>
												<td>维修取机小票打印</td>
												<td>已开启</td>
												<td class="td-manage">
													<button onclick="xadmin.open('维修取机小票打印','repair_phone_print.html')" class="layui-btn">设置</button>
												</td>
		                                	</tr>
		                              	</tbody> -->
	                            	</table>
							  	</div>
							</div>
                        </div>
                    </div>
                </div>
            </div>
        </div> 
    </body>
{/block}
{block name="script"}
    <script type="text/javascript" src="ADMIN_CUSTOM/js/printing/index.js"></script>
    <script type="text/html" id="table-btn">
      <a class="layui-btn layui-btn-xs" onclick="xadmin.open('{{d.state_text}}','/printing/printing/edit/ids/'+{{d.state}})">设置</a>
    </script>
{/block}